package com.huayi.server.Utils;

import org.springframework.stereotype.Component;

/**
 * Created by mac on 2017/8/22.
 * 消息回复头
 */
@Component
public class Resp {

    private int code = 200;
    private Object data;
    private String desc;

    public int getCode() {
        return code;
    }

    public Object getData() {
        return data;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
